<?php
/** Cms_Resource_Product_Interface */
require_once dirname(__FILE__) . '/Item/Interface.php';

/**
 * Cms_Resource_Product_Item
 * 
 * @category   Cms
 * @package    Cms_Model_Resource
 */
class Cms_Resource_Product_Item extends BIS_Model_Resource_Db_Table_Row_Abstract implements Cms_Resource_Product_Item_Interface
{   
    /**
     * Is this product discounted ?
     *
     * @return boolean
     */
    public function isDiscounted()
    {
        return 0 == $this->getRow()->discount ? false : true;
    }
    
    /**
     * Is this product taxable?
     *
     * @return boolean
     */
    public function isTaxable()
    {
        return 0 == $this->getRow()->tax ? false : true;
    }

}